from app import create_app
from app.functions import init_func

if __name__ == "__main__":
    app = create_app()
    # 初始化全局函数
    init_func(app)
    app.run()